package com.alan.springbootmybatis.service;

import com.alan.springbootmybatis.entity.User;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author Alan
 * @Description
 * @date 2020年03月28日 22:35
 */
public interface UserService {

    public List<User> getUsers();

    public User getUser(Long id);

    public void save(User user);

    public void update(User user);

    public void delete(@PathVariable("id") Long id);
}
